package com.martin.study.mybatis.integrate.bean;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

@Component
//@ComponentScan("com.martin.study.mybatis.integrate.bean")
public class ApplicationConfig {

//	@Bean
//	SqlSessionFactory sqlSessionFactory() throws IOException {
//		InputStream inputStream = Resources.getResourceAsStream("mybatis.xml");
//		SqlSessionFactory sqlSessionFactory = new SqlSessionFactoryBuilder().build(inputStream);
//		return sqlSessionFactory;
//	}
}
